package edu.mju.scenic.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import edu.mju.scenic.entity.Img;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author CBL
 * @since 2020-12-28
 */
public interface ImgService extends IService<Img> {

    boolean deleteBySpotId(Integer id);

    Map<String, Object> getImgInfo(IPage<Img> imgIPage);

    boolean deleteById(Long id);
}
